package com.dhsc.local.dao.impl.yypt;

import com.dhsc.domain.yypt.sys.TXtdmVo;
import com.dhsc.local.dao.yypt.ITxtdmDao;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: TxtdmDaoImpl
 * @Description: 系统代码
 * @date: 2023/12/18 14:24
 * @author: gx
 */
@Repository("txtdmdao")
public class TxtdmDaoImpl implements ITxtdmDao {

    @Autowired
    private SqlSessionTemplate localSqlSessionTemplate;

    @Override
    public List<TXtdmVo> queryTXtdmByFldm(TXtdmVo x) {
        return localSqlSessionTemplate.selectList("TxtdmMapper.queryTXtdmByFldm",x);
    }

    @Override
    public List<TXtdmVo> queryTXtdmAll(TXtdmVo x) {
        return localSqlSessionTemplate.selectList("TxtdmMapper.queryTXtdmAll",x);
    }
}
